package com.my.chapter5;

public class practice4 {
    public static void main(String[] args) {
        Type3 t1 = new Type3();
        Type3 t2 = new Type3("重载");
    }
}

class Type3{
    public Type3(){
        System.out.println("new Type3()");
    }
    public Type3(String str){
        System.out.println(str);
    }
}